package com.hyt.application.api;

import com.hyt.schedule.ScheduledTask01;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class DevApi {

    @Autowired
    ScheduledTask01 scheduledTask01;
    /**
     * test
     * @return
     */
    @GetMapping("/scheduled")
    public void scheduled() {
         scheduledTask01.test();
    }

}

